#if !defined(AFX_CHARTSURFACEADVANCEDVIEW_H__98BD355F_3F25_42A3_9FD2_C183998C6443__INCLUDED_)
#define AFX_CHARTSURFACEADVANCEDVIEW_H__98BD355F_3F25_42A3_9FD2_C183998C6443__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a sample for BCGControlBar Library Professional Edition
// Copyright (C) 1998-2016 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and conditions 
// of the accompanying license agreement.
//*******************************************************************************
//
// ChartSurfaceAdvancedView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CChartSurfaceAdvancedView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include "BCGPChartExampleDoc.h"
#include "BCGPChartExampleView.h"

class CChartSurfaceAdvancedView : public CBCGPChartExampleView
{
protected:
	CChartSurfaceAdvancedView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CChartSurfaceAdvancedView)

// Form Data
public:
	//{{AFX_DATA(CChartSurfaceAdvancedView)
	enum { IDD = IDD_CHART_SURFACE_3D_ADVANCED };
	CBCGPButton	m_wndColoredFrame;
	CBCGPButton	m_wndWireFrame;
	CBCGPStatic				m_wndFlatLevelLabel;
	CBCGPSliderCtrl		m_wndFlatLevel;
	CBCGPRotationCtrl	m_wndRotate;
	CBCGPChartCtrl		m_wndChart;
	BOOL				m_bUseSoftwareRendering;
	int					m_nSurfaceType;
	int					m_nColorMode;
	int					m_nColorCount;
	BOOL				m_bDrawFlat;
	int					m_nFlatLevel;
	int					m_nFrameStyle;
	BOOL				m_bColoredFrame;
	BOOL				m_bShowLevelRangeInLegend;
	BOOL				m_bContinuousLegendKey;
	BOOL	m_bShowWalls;
	BOOL	m_bWireFrame;
	BOOL	m_bZoomScroll;
	BOOL	m_bShowFloor;
	//}}AFX_DATA

// Attributes
public:
	virtual CBCGPChartVisualObject* GetChart()
	{
		return m_wndChart.GetChart();
	}

	virtual CBCGPBaseVisualCtrl* GetCtrl()
	{
		return &m_wndChart;
	}

	virtual BOOL IsAnimationAvailable() const
	{
		return FALSE;
	}

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChartSurfaceAdvancedView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CChartSurfaceAdvancedView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CChartSurfaceAdvancedView)
		afx_msg void OnUpdateChart();
		afx_msg void OnRotate();
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHARTSURFACEADVANCEDVIEW_H__98BD355F_3F25_42A3_9FD2_C183998C6443__INCLUDED_)
